package com.common.frame.customBean

import com.common.frame.bean.DiffBean
import com.google.gson.annotations.SerializedName
import java.io.Serializable

/**
 * UserBean
 **/
data class UserBean(
    var id: String = "",
    var userName: String = "",
    var name: String = "",
    var telPhone: String = "",
    var idNumber: String = "",
    var userAvatar: String = "",
    var longitude: Double = 0.toDouble(),
    var latitude: Double = 0.toDouble(),
    var altitude: Double = 0.toDouble(),
    var latestGpsDeviceId: String = "",
    var latestGpsDeviceType: Int = 0,
    var deviceStatus: Int = 0,
    var type: Int = 0,
    @SerializedName("audioRoomId") var roomId: Long = -1L,
        ): Serializable, DiffBean {
    override fun getAdapterType() = 0
}


data class UserReturnBean(
        var token: String = "",
        var user: UserBean? = null,
        var result: Int = -1,
        var description: String = "",
)